package com.ds.lens.data.common.error;

import java.io.Serializable;

/**
 * Description:
 *
 * @author WeiShaoying
 * @date 2019-07-15
 */
public interface Code extends Serializable {


    /**
     * Error code
     *
     * @return Integer
     */
    Integer code();

    /**
     * Description of the error code
     *
     * @return String
     */
    String msg(Object... args);
}
